package com.sixbing.demo.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * desc :
 * user : sixbing
 * time : 2019-04-14 14:43.
 * version : 1.0
 */

public class PageBean<T> implements Serializable {

    /**
     * cur : 0
     * pageSize : 0
     * rows : []
     * total : 0
     */

    private int cur;
    private int pageSize;
    private int total;
    private List<T> rows = new ArrayList<>();

    public int getCur() {
        return cur;
    }

    public void setCur(int cur) {
        this.cur = cur;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
